home *** CD-ROM | disk | FTP | other *** search
- ; This is a simple QmodemPro script that will allow you to logon to any
- ; WILDCAT! BBS, download a mail packet from TomCat and then upload any
- ; .Rep packets you have waiting for that system. To use the script
- ; fill out the User Id, Password, Script, and Packet fields in the
- ; dialing entry for the BBS you want to call. Then simply call that
- ; system and the script will do the rest.
- ;
- ; Note that this script does not assume that you have access to the !
- ; fast login command. If you do, you can make use of the MSIHQ.SCR script
- ; instead of this one.
- ;
- ; Some changes may be needed if the BBS you are calling has changed
- ; prompts, or if a version prior to v3.55 is being used.
- ;
- ; **********************************************************************
- ; To operate properly you must enter your name and password in the
- ; QmodemPro phonebook entry, must be in EXPERT mode in WILDCAT! and must
- ; have Hotkeys turned OFF.
- ; **********************************************************************
- ;
- ;
-
- TurnON 8_BIT ; These Are Our Terminal Settings
- TurnOFF LINEFEED ; For This Session
- TurnOFF XON/XOFF
- TurnON NOISE
- TurnOFF MUSIC
- TurnON SCROLL
- TurnOFF PRINT
- TurnOFF SPLIT
- TurnON STATUSLN
- TurnOFF DOORWAY
-
- TimeOut 45 ; Set Waitfor for 45 seconds
-
- When "-Pause-" "n^M" ; In Case Of More? Prompts
- When "bulletin menu?" "n^M" ; In Case Of Bulletin menu prompt
- When "new personal mail" "c^M" ; In Case Of new mail prompt
- When "Select a" "Z^M" ; Default Select A Protocol prompt
-
- Waitfor "What is your first name" ; Wait for WC to prompt for your name
- Delay 100
- Send "$USERID^M" ; Send UserID from the Phone Book.
-
- WaitFor "Password?" ; Wait For Password Prompt
- Delay 100
- Send "$PASSWORD^M" ; Send Password From Dialing Entry
-
- Waitfor "MAIN MENU" ; WILDCAT! Main Menu
- Delay 100
- Send "M^M" ; Send M for Message Menu
-
- Waitfor "MESSAGE MENU" ; WILDCAT! Message Menu
- Delay 100
- Send "T^M" ; Send T for Tomcat Menu
-
- Waitfor "TOMCAT MENU" ; TomCat!'s Main Menu
-
- DOWNLOADAGAIN:
- IF $GETMAIL DOWNLOADMAIL ; If Downloading Qwk packet
- DOWNFINISHED: ; Label For DownFinished
-
- UPLOADAGAIN:
- IF $SENDMAIL UPLOADMAIL ; If Send Rep Packet
- UPSUCCESS: ; Label For Upload Success
- TimeOut 30 EXITSYSTEM ; Goto EXITSYSTEM Upon Timeout
- DELETEF $REPPATH$PACKET.REP ; Delete .REP Packet
- When "Auto Logoff" "H^M"
- Waitfor "TOMCAT" ; Wait For TomCat Menu
- Delay 100
- Send "G^M" ; Send Hangup Command
- EXITSYSTEM:
- Exit ; Script Is Done.
-
- UPLOADMAIL: ; Label For Upload Routine
- TimeOut 30 ; Reset Timeout Value
- Delay 100
- Send "U^M" ; Tell It To [D]ownload Mail
- Delay 500 ; Pause For 1/2 Second
- UPLOAD Z $REPPATH$PACKET.REP ; Upload .REP Packet
- IF $SUCCESS UPSUCCESS ; If Success Then Goto UPSUCCESS
- GOTO UPLOADAGAIN ; If Not Loop Back Around
-
- DOWNLOADMAIL: ; Download QWK Routine
- TimeOut 500 ; Set Timeout For Message Packing
- When "Nothing" DOWNFINISHED
- Delay 100
- Send "D^M" ; Tell It To [D]ownload Mail
- Waitfor "this packet" ; String To Start Download
- Delay 100
- Send "Y^M" ; Send Yes To Download Packet
- Waitfor "Start Your" ; Start Download Prompt
- Delay 200
- DOWNLOAD Z $QWKPATH ; Download The .QWK Packet using Zmodem
- IF $SUCCESS DOWNFINISHED ; If Successful Goto DOWNFINISHED
- GOTO DOWNLOADAGAIN ; If Not Try Again
-